<template>
	<view class="exit">

	</view>
</template>

<script>
	import {
		showToast
	} from '../../common/js/sysfun.js';
	import {
		mapGetters,
		mapMutations
	} from 'vuex'
	export default {
		data() {
			return {

			}
		},
		created() {},
		computed: {
			...mapGetters([
				'getLangType', //获取当前语言
				'getRequestUrl'
			]),
			i18n() {
				return this.$t('message');
			}
		},
		onBackPress(options) {
			console.log(options)
			uni.showModal({
				title: '提示',
				content: '是否退出？',
				success: function(res) {
					if (res.confirm) {
						// 退出当前应用，改方法只在App中生效  
						plus.runtime.quit();
					} else if (res.cancel) {
						console.log('用户点击取消');
					}
				}
			});
			return true;
		},
		methods: {

		}
	}
</script>

<style lang="scss" scoped>
	.exit {}
</style>
